package cz.cuni.mff.ufal.httpserver;

import java.io.IOException;

/**
 * Thrown to indicate that the processed stream does not contain any correct HTTP request.
 * 
 * @author Bartłomiej Etenkowski
 */
public class IncorrectHttpRequestException extends IOException {
  private static final long serialVersionUID = -8271629557074329284L;

  /** Constructs an {@code IncorrectHttpRequestException} with no detail message. */
  public IncorrectHttpRequestException() {		
  }

  /** Constructs an {@code IncorrectHttpRequestException} with the specified detail message. */
  public IncorrectHttpRequestException(String message) {
    super(message);
  }

  /**
   * Construct an {@code IncorrectHttpRequestException} with the specified detail message and specified cause.
   * @param message
   * @param cause
   */
  public IncorrectHttpRequestException(String message, Throwable cause) {
    super(message, cause);
  }
}
